/**
 * Created with IntelliJ IDEA.
 * Description:
 * user:likai
 * Date:2022-09-26
 * Time:8:22
 */
//class Draw{
//    public void draw(){
//        System.out.println("画图");
//    }
//}
//class Circle extends Draw{
//    public void draw(){
//        System.out.println("画圆");
//    }
//
//
//}
//class Rect extends Draw {
//    public void draw() {
//        System.out.println("画矩形");
//
//    }
//}
//class A{
//    public A(){
//        func();
//    }
//    public void func(){
//        System.out.println("A:func()");
//    }
//}
//
//class B extends A{
//    private int b=1;
//    public void func(){
//        System.out.println("B:func()"+" "+b);
//    }
//}
//public class Test {
//    public static void main(String[] args) {
////        A a=new B();
////        a.func();
//          B b=new B();
////        a.func();
////        b.func();
//    }
////    public static void Drawings(){
////
////    }
////    public static void Drawing(Draw shape){
////        shape.draw();
////    }
////    public static void main(String[] args) {
////        //用多态
////        //创建Draw数组
////        Draw[] s1={new Circle(),new Rect(),new Circle(),new Rect()};
////        for (Draw x:s1) {
////            Drawing(x);
////        }
////        //不用多态
////        Circle c=new Circle();
////        Rect r=new Rect();
////        String[] s2={"c","r","c","r"};
////        for (String x:s2) {
////            if(x.equals(c)){
////                c.draw();
////            } else {
////                r.draw();
////            }
////        }
//        //        Draw d=new Circle();
////        Circle c=new Circle();
////        c=(Circle)d;
//
////        //第一种方法
////        Rect r=new Rect();
////        Draw d=new Draw();
////        Circle c=new Circle();
////        d.draw();
////        r.draw();
////        c.draw();
////        //第二种方法
////        Drawing(new Rect());
////        Drawing(new Circle());
////        Drawing(new Draw());
////   }
//}

//
//class Person{
////
////    private String name = "Person";
////
////    int age=0;
// Person(){
//     System.out.println(1);
// }
//
//}
//
// class Test extends Person {
//     public static void main(String[] args) {
//         new Person();
//         new Test();
//     }
// }
//}
//class Tea extends  Test{
//    int i=1;
//
//    public static void main(String[] args) {
//        Person a =new Person();
//        Person b =new Test();
//        Person c= new Tea();
//    }
//}

//
//class Base{
//    public Base(String s){
//        System.out.print("B");
//    }
//}
//
//public class Test extends Base{
//
//    public Test(String s) {
//        super("s");
//        System.out.print("D");
//    }
//    public static void main(String[] args){
//        new Test("C");
//    }
//}


import java.util.Scanner;

public class Test {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            int z = scanner.nextInt();
            Sub sub = new Sub(x, y, z);
            System.out.println(sub.calculate());
        }
    }

}

class Base {

    private int x;
    private int y;
    private int a;
    public Base(int x, int y) {
        this.x = x;
        this.y = y;
    }
    public int getA(){
        return a;
    }
    public int getX() {
        return x;
    }
    public int getY() {
        return y;
    }
}
class Sub extends Base {
    private int z;
    public Sub(int x, int y, int z) {
        //write your code here
        super(x,y);
        this.z=z;
    }
    public int getZ() {
        return z;
    }
    public int calculate() {
        return super.getX() * super.getY() * this.getZ();
    }

}